<div class="header_search"><div class="timkiemsanpham"><span>Tìm kiếm sản phẩm</span></div>
<form style="padding:0px; margin:0px;" action="<?php echo Yii::app()->createUrl('/product/search');?>">
	<div class="header_search_keyword">
		<input class="search_keyword" type="text" name="keyword" id="keyword" value="<?php echo $keyword;?>" onblur="if(this.value=='')this.value='Gõ từ khóa...'" onfocus="this.value=''">
	</div>
	<div class="header_search_keyword">
		<select name="price" style="width:90px">
			<option value="0">Khoảng giá</option>
			<option value="1" <?php if($price==1) echo 'selected';?>>Từ 1.000.000 -&gt; 2.000.0000</option>
			<option value="2" <?php if($price==2) echo 'selected';?>>Từ 2.000.000 -&gt; 5.000.0000</option>
			<option value="3" <?php if($price==3) echo 'selected';?>>Từ 5.000.000 -&gt; 7.000.0000</option>
			<option value="4" <?php if($price==4) echo 'selected';?>>Từ 7.000.000 -&gt; 9.000.0000</option>
			<option value="5" <?php if($price==5) echo 'selected';?>>Từ 9.000.000 -&gt; 11.000.0000</option>
			<option value="6" <?php if($price==6) echo 'selected';?>>Từ 11.000.000 -&gt; 13.000.0000</option>
			<option value="7" <?php if($price==7) echo 'selected';?>>Từ 13.000.000 -&gt; 15.000.0000</option>
			<option value="8" <?php if($price==8) echo 'selected';?>>Từ 15.000.000 -&gt; 17.000.0000</option>
			<option value="9" <?php if($price==9) echo 'selected';?>>Từ 17.000.000 -&gt; 20.000.0000</option>
			<option value="10" <?php if($price==10) echo 'selected';?>>Trên 20.000.000</option>
		</select>
	</div>
	<div class="header_search_keyword">
		<?php 
		$listData = CHtml::listData(FrontendShopCategoryModel::model()->findAll('TRUE ORDER BY position ASC'), 'category_id', 'title_tree');
		echo CHtml::dropDownList('category', $category, $listData);
		?>
	</div>
	<div class="header_search_keyword">
		<?php 
		$listData = CHtml::listData(FrontendShopManufactorModel::model()->findAll('TRUE ORDER BY position ASC'), 'id', 'name');
		echo CHtml::dropDownList('manufactor', $manufactor, $listData,  array('empty'=>'Hãng sản xuất'));
		?>
	</div>
	<div class="header_search_keyword">
		<input type="submit" class="search_submit" value="Tìm kiếm">
	</div>
</form>
<div class="header_search_right">&nbsp;</div>
<div class="clear"></div></div>